<?
if(!MEMBER) common::accessdenied();
if(POST){
    switch (PARAMS){
        default: account::update($_POST); break;
        case 'disable': account::disable($_POST); break;
    }
} else {
    $data->account = account::get(array('ID'=>UID));
    $data->TITLE = _('Account');
    $data->DESCRIPTION = _('Your account info');
    $data->CSS = 'home';
}
//die('mother fucker die');
?>